#include <hash_table.h>
#include <stdio.h>

int main(int argc, char **argv)
{
	int* ka = malloc(sizeof(int));
	int* kb = malloc(sizeof(int));
	int* kc = malloc(sizeof(int));
	int* a = malloc(sizeof(int));
	int* b = malloc(sizeof(int));
	int* c = malloc(sizeof(int));
	
	*ka = 123324, *kb = 434234, *kc = 23123;
	*a = 3, *b = 2, *c = 1;
	hash_table h = hash_table_new();

	hash_table_put(h, ka, a);
	hash_table_put(h, kb, b);
	hash_table_put(h, kc, c);

	printf("A : %d %d\n", *ka, *((int*)hash_table_get(h, ka)));
	printf("B : %d %d\n", *kb, *((int*)hash_table_get(h, kb)));
	printf("C : %d %d\n", *kc, *((int*)hash_table_get(h, kc)));

	hash_table_free(h);

	return 0;
}

